package com.example.xitdemo2.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("hi")
    public String hi(){
        return "Hi";
    }
    @GetMapping("hello")
    public String hello(){
        return "hello";
    }
}
